﻿#ifndef IDENTIFYDIALOG_H
#define IDENTIFYDIALOG_H

#include <QDialog>
#include "ZKFingerReader/FingerprintReader.h"
#include "ZKFingerReader/FingerprintCacheDB.h"
#include "ZKFingerReader/FPCacheDBLoader.h"

namespace Ui {
class IdentifyDialog;
}

class IdentifyDialog : public QDialog
{
    Q_OBJECT

public:
    explicit IdentifyDialog(QWidget *parent = 0);
    ~IdentifyDialog();
private slots:
    void onFingerprintReceived(QImage image, QByteArray fpTemplate);
private:
    Ui::IdentifyDialog *ui;
    ZKFP::FingerprintReader m_reader;
    ZKFP::FingerprintCacheDB m_cacheDB;
    ZKFP::FPCacheDBLoader m_dbLoader;
};

#endif // IDENTIFYDIALOG_H
